#include <iostream>

#include <nemesis.TraceMethod.h>

#include <dbos_demo.phase.Base.h>

using namespace std;
using namespace nemesis;
using namespace dbos_demo;

void phase::Base::apply (dbms::Connection& connection) 
   throw ()
{
   LOGMETHOD (TraceMethod ttmm (a_name, "apply", FILE_LOCATION));

   cout << a_name << ": " << endl;

   do_comment ();

   try {
      do_apply (connection);
   }
   catch (Exception& ex) {
      ex.trace ();
      cout << ex.asString () << endl << endl;
   }
   
   cout << "-------------------------------------------------------------------------------------------" << endl;
}


